assertion failed
美 [əˈsɜːrʃn feɪld]英 [əˈsɜːʃn feɪld]
- 网络断言失败
assertion failed
-
As you can see from this failing test , the assertion failed because we never did anything to create this file .
这个失败测试显示,断言失败,原因是我们根本没有创建这个文件。
-
For example , you could override the tracelistener . :: . fail method to write to an event log instead of displaying the assertion failed dialog box .
例如,可以重写tracelistener.::.fail方法来写入事件日志而不是显示“断言失败”对话框。
-
Typically , you get to know where the assertion failed ( file name or line number ) and maybe some optional message the code printed .
通常,您会知道断言在何处失败(文件名或行号),可能代码会打印出一些可选的消息。